﻿<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Logon.aspx.cs"
    Inherits="tmsWeb.Logon" Title="用户登录" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderBody" runat="server">
    <form id="FormLogon" runat=server>
    <table width="100%" height="250">
        <tr>
            <td height="20">
            </td>
        </tr>
        <tr>
            <td width="50%" align="center" valign="top">
                <table cellspacing="2" cellpadding="4" width="75%">
                    <tr>
                        <td colspan="2" height="40">
                            欢迎使用
                        </td>
                    </tr>
                    <tr>
                        <td width="4">
                            <img src="App_Themes/Default/images/marker.gif">
                        </td>
                        <td align="left" >
                            <asp:Label ID="lbRef1" runat="server">1. 如有可能，请选择Microsoft IE 6.0或以上版本的浏览器以及1024*768的屏幕分辨率，以获得最佳效果</asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="4">
                            <img src="App_Themes/Default/images/marker.gif">
                        </td>
                        <td align="left">
                            <asp:Label ID="lbRef2" runat="server">2. 本系统使用了Cookie来标识用户，请确认您的浏览器设置，如果您禁用了Cookie，可能将无法登陆；本系统保证没有使用任何有害和非安全的Cookie来暴露</asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="4">
                            <img src="App_Themes/Default/images/marker.gif">
                        </td>
                        <td align="left">
                            <asp:Label ID="lbRef3" runat="server">3.本系统使用JavaScript脚本程序和弹出框，请关掉上网助手和防毒软件的屏蔽功能，否则可能无法正常使用！ </asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
            <td valign="top">
                <table cellspacing="5" cellpadding="5" width="75%" align="center">
                    <tr>
                        <td height="40" colspan="2" align="center">
                            用户登录
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lbUserID" runat="server">用户名:</asp:Label>
                        </td>
                        <td >
                            <asp:TextBox ID="tbID" runat="server" Width="160px" CssClass="input_1"></asp:TextBox>                           
                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="tbID"
                                            ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。">*</asp:RequiredFieldValidator>
                           
                        </td>
                        <!-- onkeyup="UpperCaseValue(this)" onpaste="UpperCaseValue(this)" -->
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lbPassword" runat="server">密码:</asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="tbPwd" runat="server" Width="160px" 
                                TextMode="Password" CssClass="input_1"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="tbPwd"
                                            ToolTip="必须填写“密码”。" ErrorMessage="必须填写“密码”。">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td height="20" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">                            
                                <asp:ImageButton ID="btnLogon" runat="server" SkinID=SubmitButton 
                                    onclick="btnLogon_Click" BorderStyle="None"/>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="2" align =center>
                <asp:ValidationSummary ID="FailureText" runat="server" DisplayMode="List" 
                    ShowMessageBox="True" ShowSummary="False" />
            </td>
        </tr>
    </table>
    </form>
</asp:Content>
